export const isMac =
  navigator && navigator.platform.toUpperCase().indexOf('MAC') >= 0
